﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="index.ascx.cs" Inherits="UserControl_index" %>
<%@ Register Src="~/UserControl/control-fan-facebook.ascx" TagPrefix="uc1" TagName="controlfanfacebook" %>
<%@ Register Src="~/UserControl/phong-tro-tim-kiem-nhanh.ascx" TagPrefix="uc2" TagName="timkiemnhanh" %>
<h1 style="position: absolute; top: -35px">su kien dao tao</h1>
<!--Tin tức nổi bật-->
<section id="news-top">
    <header>
        <span>Sự kiện nổi bật</span>
    </header>
    <ul id="NBonIndex" class="lst-news">
        <%--<img id="loadwating" class="loading" alt="" src="/Images/System/loading.gif" style="margin: 10px; text-align: center;" />--%>
        <%=clsExportHtml.fncExportSuKien_NoiBat(clsPhongTro.fncSuKien_FND_TAITRO(basConst.CURENT_PAGE, 5, 1).Tables[0])%>

        <div class="clr"></div>
    </ul>
</section>
<!--End tin nổi bật-->
<div class="clr"></div>

<div class="contentRight" style="float: left;">
    <div class="spaces">
        <span>Chương trình diễn ra tại:</span>
        <span class="ttIndex"><a href="/dao-tao/ha-noi">Hà Nội</a></span>
        <span class="ttIndex"><a href="/dao-tao/ho-chi-minh">Hồ Chí Minh</a></span>
        <span class="ttIndex ttD" id="newTinhThanh">Tỉnh thành khác ▼</span>
        <!--POPUP TỈNH THÀNH-->
        <div class="boxPopup" id="TINHTHANH">
            <div class="login-title">
                Chọn tỉnh thành
                <div class="login-close" id="closeP">
                    <a id="closePopLogin"></a>
                </div>
            </div>
            <%=clsExportHtml.fncExportTinhThanh_Popup(clsKhuVuc.KhuVuc_FND(basConst.CURENT_PAGE
                                                                           ,basConst.PROC_NUMBER
                                                                           ,"","","0",-1).Tables[0])%>
        </div>
        <!--END POPUP TỈNH THÀNH-->
    </div>
    <div class="lstPhongTro lstPhongTroVIP">
        <%=clsExportHtml.fncExportPhongTro(clsPhongTro.PhongTro_FND(1
        ,basConst.PROC_NUMBER
        ,""
        ,0
        ,0
        ,""
        ,""
        ,"",2).Tables[0]) %>
    </div>
    <div class="load-more">
        <img id="loader" class="loading" alt="" src="/images/system/loading.gif" style="display: none" />
        <div style="float: left; margin-left: 267px;">
            <a href="javascript:void(0)" onclick="GetRecordsIndex()" id="btnLoadMore" style="float: left;">► Hiển thị thêm 
            </a>
        </div>
        <span style="float: right;"><a href="/cho-thue-phong-tro-nha-tro/toan-quoc/0/0/2">◥</a></span>
        <div class="clr"></div>
    </div>
    <div class="clear"></div>
</div>
<!--------------------------------------------ĐÂY LÀ CỘT BÊN PHẢI---------------------------------------------------------------->
<div class="contentLeft" style="float: right;">
    <uc2:timkiemnhanh runat="server" ID="timkiemnhanh" />
    <uc1:controlfanfacebook runat="server" ID="controlfanfacebook" />
    <%-- <%=OsPortal.oFileHelper.ReadFile(basConst.LinkQuangCao_LEFT) %>--%>
    <div class="box-left">
        <h4 class="title-left">TIN TỨC NỔI BẬT</h4>
        <ul id="newNoiBat" class="module_news">
            <%=clsExportHtml.fncExportLeft_NoiBat(clsTinTuc.TinTuc_FND(1,10,"","","",1,1,2).Tables[0])%>
        </ul>
        <div class="clr">
        </div>
    </div>
</div>
<!----------------------------------------------HẾT CỘT BÊN PHẢI -------------------------------------------------------------------->

<div style="float: left; width: 100%;">
    <%=OsPortal.oFileHelper.ReadFile(basConst.LinkGA_Index)%>
</div>

<%--<%=OsPortal.oFileHelper.ReadFile(basConst.LinkPOPUP_AV_Index)%>--%>

<script type="text/javascript">
    //
    var iCurrPage = <%=basConst.CURENT_PAGE%>;
    var pageSize = <%=basConst.PROC_NUMBER%>; //Số lượng sản phẩm / 1 trang
</script>
<script src="/Scripts/phong-tro-danh-sach.js"></script>
<%--<script src="/Scripts/tin-tuc-danh-sach.js"></script>--%>
<script src="/Scripts/index.js"></script>
